package com.fish.anne.service;

import java.util.List;

import com.fish.anne.model.Auto;
import com.fish.anne.webapp.formbean.AutoSearch;
import com.fish.anne.webapp.formbean.FrontAutoSearch;

 
public interface AutoManager extends GenericManager<Auto, Long> {
	public List<Auto> findByBrandId(Integer brandId); 
	public boolean isBrandUsed(Integer brandId);
	
	public Long getCountByMember(FrontAutoSearch frontAutoSearch);
	public List<Auto> findByMember(FrontAutoSearch frontAutoSearch);
	
	public Long getCountOfSearch(AutoSearch autoSearch);
	public List<Auto> findBySearch(AutoSearch autoSearch);
	
	public List<Auto> findCheapAutos();
}